package com.yangsen.register;

import com.jfinal.core.Controller;
import com.yangsen.common.BaseValidator;

public class RegisterValidator extends BaseValidator {

    @Override
    protected void validate(Controller c) {
        validateRequired("username", "msg", "请输入用户名");
        validateRequired("pwd", "msg", "请输入密码");
    }

}
